import request from '@/utils/request'

export default{

    //用户登录
    submitLoginUser(loginInfo){
        return request({
            url: `/educenter/member/login`,
            method: 'post',
            data:loginInfo
        })
    },

    //根据token获取用户信息
    getLoginInfo(){
        return request({
            url: `/educenter/member/getLoginInfo`,
            method: 'get'
            // headers: {'token': cookie.get('guli_token')}
        })
    }
} 